import { UserModule } from "./user/user.module"
import { BrowserModule } from "@angular/platform-browser"
import { NgModule } from "@angular/core"

import { AppRoutingModule } from "./app-routing.module"
import { AppComponent } from "./app.component"
import { HttpClientModule } from "@angular/common/http"

@NgModule({
  declarations: [
    //声明组件才能使用
    AppComponent,
  ],
  imports: [
    //框架中的模块
    BrowserModule,
    HttpClientModule,
    UserModule,
    AppRoutingModule,
  ],
  providers: [],
  bootstrap: [AppComponent],
})
export class AppModule {}
